<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2023 Open Source Geospatial Foundation. All rights reserved. This code is licensed under
  the GPL 2.0 license, available at the root application directory. -->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="
	     http://www.springframework.org/schema/beans
	     http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
	     http://www.springframework.org/schema/context
	     http://www.springframework.org/schema/context/spring-context-3.0.xsd
	     http://www.springframework.org/schema/aop
	     http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"
>

	<bean id="WEBPMapProducer" class="org.geoserver.wms.map.RenderedImageMapOutputFormat">
      <constructor-arg>
        <description>The prescribed output format MIME-Type, same as declared in the getcaps document</description>
        <value>image/webp</value>
      </constructor-arg>
      <constructor-arg ref="wms" />
      <property name="extension" value="webp"/>
    </bean>
    <bean id="WEBPMapResponse" class="org.geoserver.wms.map.WEBPMapResponse">
      <constructor-arg ref="wms" />
    </bean>
</beans>
